﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;

namespace whereIsTheDonutGame
{

    class MovableBox
    {

        public Model Model { get; set; }
        public Vector3 Position { get; set; }

        public BoundingBox boundingBox { get; set; }

        public MovableBox()
        {

            Model = null;
            boundingBox = new BoundingBox();
        }
        public void LoadContent(ContentManager content)
        {
            Model = content.Load<Model>("box");
            Position = Vector3.Down;
        }

        public void UpdateBoundingBox()
        {
         boundingBox = new BoundingBox(new Vector3(Position.X - 1 , Position.Y - 1, Position.Z - 1),new Vector3(Position.X + 1, Position.Y + 1, Position.Z + 1));
       }
        //TODO: called when collision with player (or box?) is spotted.
        public void moveBox()
        {
        }
    }
}
